Skip to content

test(admin): cover access key info CLI dispatch#236

Merged
overtrue merged 1 commit into
mainfrom
automation/test-gap-access-key-info
Jun 21, 2026
Merged

test(admin): cover access key info CLI dispatch#236
overtrue merged 1 commit into
mainfrom
automation/test-gap-access-key-info

Conversation

@overtrue

Copy link
Copy Markdown
Contributor

Summary

  • Add a focused CLI integration test for rc admin access-key info --json
  • Assert alias-based dispatch reaches /rustfs/admin/v3/info-access-key and preserves the returned access-key metadata in JSON output

Evidence

Recent origin/main added admin access-key info in #227. Existing coverage checked parser/help and the S3 admin client endpoint, but did not cover the CLI command wiring through alias resolution and JSON output.

Validation

  • cargo test -p rustfs-cli --test admin_access_key
  • cargo fmt --all --check
  • git diff --check
  • make pre-commit

@overtrue overtrue marked this pull request as ready for review June 20, 2026 21:15
@overtrue overtrue merged commit 9036ab1 into main Jun 21, 2026
15 checks passed
@overtrue overtrue deleted the automation/test-gap-access-key-info branch June 21, 2026 04:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant